simple logarithms equations